package data.dao;

import java.util.ArrayList;

import data.dao.daoImplementation.NotFoundException;
import data.dao.daoImplementation.SQLException;
import data.dto.UserDTO;
import data.searchdto.UserSearchDTO;


public interface UserDAO {
	public UserDTO findUser(UserSearchDTO usersearchdto) throws UserDAOException;
	public ArrayList<UserDTO> findAllUser() throws UserDAOException;
	public void insertUserDetail(UserDTO User) throws UserDAOException;
    public void updateUserDetail(UserDTO User) throws UserDAOException;
    public void deleteUserDetail(UserDTO User) throws UserDAOException, NotFoundException, SQLException;
	UserDTO findUser(String username, String password) throws UserDAOException;
}